
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<ui:composition template="template.xhtml"
                xmlns="http://www.w3.org/1999/xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:f="http://java.sun.com/jsf/core"
                xmlns:p="http://primefaces.org/ui"
                xmlns:ui="http://java.sun.com/jsf/facelets">   
    
    <ui:define name="menuDireito">
        <h:body>
            <div class="floatRight width73">
                <h1>Informações</h1>

                <h:form>
                    <p>Edital<br></br>
                        <p:inputText id="edital" size="80" rendered="true" value="#{concurso.edital}"></p:inputText>
                    </p>
                    <p>Matéria<br></br>
                        <p:inputText id="materia" size="80" rendered="true" value="#{concurso.materia}"></p:inputText>
                    </p>
                    <p>Data da prova<br></br>
                        <p:calendar id="data1" locale="pt" pattern="dd/MM/yyyy" value="#{concurso.dataProva}"></p:calendar>
                    </p>                          
                    <p>Candidatos inscritos:<br></br>
                        <p:inputTextarea rows="10" cols="80" value="#{concurso.candidatosInscritos}"></p:inputTextarea>
                        
                    </p>
                    <p>Candidatos aprovados:<br></br>
                        <p:inputTextarea rows="4" cols="80" value="#{concurso.candidatoAprovado}"></p:inputTextarea>                       
                    </p>
                    <br></br>
                    <h2>Classificação:</h2>
                    <hr></hr>
                    <p>Notas (como vai ser organizado isso?):<br></br>
                        <h:inputText size="80" rendered="true" value="#{concurso.classificacao_notas}"></h:inputText>
                    </p>    
                    
                     <br></br>
                    
                          <br></br>     <br></br>
                    <div style="text-align: center">
                        <h:commandButton value="Salvar" action="#{concurso.aplica}"></h:commandButton>
                        &nbsp;
                        <h:commandButton value="Pré-visualizar" action="previsualizarCadastroConcurso"></h:commandButton>
                    </div>
                </h:form>

            </div>
            <!-- </form>  -->
        </h:body>
    </ui:define>
</ui:composition>